import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import globalData from "./Global";
import VueClipboard from 'vue-clipboard2';
import {post, fetch, upload} from "./index.js";

import VueDirectiveImagePreviewer from 'vue-directive-image-previewer'
import 'vue-directive-image-previewer/dist/assets/style.css'
Vue.use(VueDirectiveImagePreviewer)

Vue.prototype.$post = post;
Vue.prototype.$fetch = fetch;
Vue.prototype.$upload = upload;
Vue.prototype.globalData = globalData;
Vue.use(VueClipboard)
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");

